498799f3717fe9cbd8ad855f370f053c5b3d2b22,src/main/java/hudson/plugins/performance/PerformanceReport.java,PerformanceReport,getUriListOrdered,#,192

Before Change



  public List<UriReport> getUriListOrdered() {
    Collection<UriReport> uriCollection = getUriReportMap().values();
    List<UriReport> uriReportList = new ArrayList<UriReport>(uriCollection);
    Collections.sort(uriReportList, Collections.reverseOrder());
    return uriReportList;
  }

After Change


  public List<UriReport> getUriListOrdered() {
    synchronized (uriReportMap) {
      if (uriReportsOrdered == null) {
        uriReportsOrdered = new ArrayList<UriReport>(uriReportMap.values());
        Collections.sort(uriReportsOrdered, Collections.reverseOrder());
      }
      return uriReportsOrdered;
    }